﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMovieSystem
{
    [Serializable]
    /// <summary>
    /// 销售类
    /// </summary>
    public class Selling
    {
        /// <summary>
        /// 影片名称
        /// </summary>
        public String MovieName { get; set; }
        /// <summary>
        /// 售票数量
        /// </summary>
        public int TicketNum { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        public DateTime Date { get; set; }
        /// <summary>
        /// 排名
        /// </summary>
        public int Rank { get; set; }

        public Selling() { }

        public Selling(string name,int num,int rank) 
        {
            this.MovieName = name;
            this.TicketNum = num;
            this.Rank = rank;
        }

    }
}
